package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @GoodsDetail
 * @商品详情(goods_detail)
 * @version : Ver 1.0
 */
@TableName("goods_detail")
public class GoodsDetail implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:商品详情id
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;

	/**
	 * @备注:商品id
	 * @字段:goods_id BIGINT(19)
	 */
	private java.lang.Long goodsId;

	@TableField(exist = false)
	private  Goods goods;
	/**
	 * @备注:图片地址(多图以逗号分隔)
	 * @字段:pictures_url TEXT(65535)
	 */
	private java.lang.String picturesUrl;


	/**
	 * 视频地址
	 */
	private java.lang.String videoUrl;

	/**
	 * @备注:商品介绍
	 * @字段:goods_introduce TEXT(65535)
	 */
	private java.lang.String goodsIntroduce;

	/**
	 * @备注:商品备注
	 * @字段:goods_remarks VARCHAR(11)
	 */
	private java.lang.String goodsRemarks;

	public GoodsDetail(){
	}

	public GoodsDetail(
		java.lang.Long id
	){
		this.id = id;
	}



	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}


	public void setGoodsId(java.lang.Long goodsId) {
		this.goodsId = goodsId;
	}

	public java.lang.Long getGoodsId() {
		return this.goodsId;
	}


	public void setPicturesUrl(java.lang.String picturesUrl) {
		this.picturesUrl = picturesUrl;
	}

	public java.lang.String getPicturesUrl() {
		return this.picturesUrl;
	}

	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}

	public void setGoodsIntroduce(java.lang.String goodsIntroduce) {
		this.goodsIntroduce = goodsIntroduce;
	}

	public java.lang.String getGoodsIntroduce() {
		return this.goodsIntroduce;
	}

	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public void setGoodsRemarks(java.lang.String goodsRemarks) {
		this.goodsRemarks = goodsRemarks;
	}

	public java.lang.String getGoodsRemarks() {
		return this.goodsRemarks;
	}
}
